import java.rmi.RemoteException;
import java.rmi.server.UnicastRemoteObject;

public class Service2Impl extends UnicastRemoteObject implements Service2 {
    protected Service2Impl() throws RemoteException {
        super();
    }

    @Override
    public String test2(String str2) throws RemoteException {
        return "This is the second rmi program,param=" + str2;
    }
}
